module.exports={
    entry:"./js/index.js",
    output:{
        filename:"index.js",
        path:`${__dirname}/dist`
    },
    module:{
        rules:[
            {
                test:/\.js$/,
                use:"babel-loader",
                exclude:"/node_modules/"
            }
        ]
    }
}